package org.bright.service.Impl;

import org.bright.dao.BookDao;
import org.bright.dao.UserDao;
import org.bright.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

public class BookServiceImpl implements BookService {
    public BookDao getBookDao() {
        return bookDao;
    }

    public void setBookDao(BookDao bookDao) {
        this.bookDao = bookDao;
    }

    BookDao bookDao;
    UserDao userMySqlDao;

    public void setUserMySqlDao(UserDao userMySqlDao) {
        this.userMySqlDao = userMySqlDao;
    }

    @Override
    public void getList() {
        bookDao.getList();
        userMySqlDao.sayHello();
    }
}
